package com.zx.test.listener;

import com.zx.flow.api.listener.FlowCallbackHandler;
import com.zx.flow.api.listener.FlowEvent;
import com.zx.flow.api.listener.FlowEventRegister;
import com.zx.flow.api.listener.request.FlowOperator4Listener;
import java.util.List;
import org.springframework.stereotype.Service;

@Service
public class MyFlowEventListener implements FlowCallbackHandler {

    public MyFlowEventListener() {
        FlowEventRegister.register("my_apply", this);
    }
    
    @Override
    public void doListener(FlowEvent flowEvent) {

    }

    @Override
    public List<FlowOperator4Listener> getOperators(FlowEvent flowEvent) {
        return null;
    }
}
